package com.wanxi.version3;

public class Version3Test {
    public static void main(String[] args) {
        Gamer gamer = new Gamer("王海云");
        gamer.onTheScreen();
        gamer.basicOperations(new Talk());
        gamer.basicOperations(new Walk());
        gamer.superPower(new Flash());
        gamer.superPower(new Attack());



        NPC npc = new NPC("小兵");
        npc.onTheScreen();
        npc.basicOperations(new Talk());
        npc.basicOperations(new Walk());


        Gamer gamer1 = new Gamer("陈明");
        gamer1.superPower(new Fly());
        gamer1.superPower(new Flash());



    }
}
